package myoa

import myoa.domain.ProCompanyRole

class ProCompany {
    ProCompanyRole role
    static belongsTo = [company: Company, project: Project]
    static hasMany = [proEmployees: ProEmployee]
    static constraints = {
        company(unique: 'project')
    }
}
